#ifndef CURSOR_H_INCLUDED
#define CURSOR_H_INCLUDED


#include "GameStates.h"


extern const char *p1_xpm[];
extern const char *p2_xpm[];


enum class GameState;


SDL_Cursor *setCursor(const char *image[]);
void changeCursor(Mark&, SDL_Cursor*, SDL_Cursor*);
bool cursorOverArea(SDL_Event, const SDL_Rect&);
void updateCursor(SDL_Event, Mark&, GameState&, SDL_Cursor*, SDL_Cursor*);


#endif // CURSOR_H_INCLUDED
